package cn.aiyuan.entity;

import lombok.Data;
import org.neo4j.ogm.annotation.*;

/**
 * @author wangyuan
 * @date 2021/6/18
 */
@Data
@RelationshipEntity("R_LESSON_OF_STUDENT")
public class LessonOfStudent {

    @StartNode
    private Student student;

    @EndNode
    private Lesson Lesson;
}
